package com.donn.securitycontrolplatform.alarmdetail;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_alarm_detail")
public class AlarmDetail {
    public static final Integer MSR = 1001;//陌生人


    public static String ALARM_TYPE = "alarm_type";
    //严重
    public static Integer GRADE_1 = 1;
    //一般
    public static Integer GRADE_2 = 2;
    //轻微
    public static Integer GRADE_3 = 3;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //报警名称
    private String name;

    //警报类型
    private Integer alarmId;

    //其它系统内部id
    private Long alarmType;

    //严重等级
    private Integer grade;

}
